(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/dos.h>
BPTR GetProgramDir()
SYNOPSIS
/* void */

LOCATION
In DOSBase at offset 100
FUNCTION
This function will return the shared lock on the directory that the current directory was loaded from. You can use this to help you find data files which were supplied with your program.

A NULL return is possible, which means that you may be running from the Resident list.

You should NOT under any circumstance UnLock() this lock.

INPUTS
RESULT
A shared lock on the directory the program was started from.

NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
24.02.1997 iaint
Some new DOS function, required by locale
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column